Coupon_X\Frontend\Couponx_Frontend D

Total Complexity 186
Dependencies 1
Dependents 0
Total lines 1,023
Lines of code 780
Logical lines of code 392
Comment lines 121
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
render_an_dialog()
D
29
30 128
render_coupon_dialog()
C
33 23 104
render_link_dialog()
C
33 22 103
render_discount_tab()
B
34 21 87
render_email_dialog()
B
35 17 90
get_coupon_classes()
A
42 15 51
is_discount_applicable()
A
49 10 33
load_fonts()
A
45 8 41
is_valid_product()
S
53 7 23
is_valid_min_req()
S
55 6 21
apply_cx_coupon_link()
S
59 6 14
apply_coupon_from_session()
S
62 6 11
render_coupon_form()
S
57 5 17
display_coupon_widget()
S
54 4 22
is_valid_date()
S
62 3 11
include_coupon_scripts()
S
57 2 16
__construct()
S
66 1 8